<#if project.dataCenterType == "hbase">
validate.flag=false
validate.key=sswz

server.context-path=/${project.code}
habseconf.clientPause=20 
habseconf.clientRetriesNumber=5 
habseconf.ipcClientTcpnodelay=true 
habseconf.ipcPingInterval=3000 
habseconf.rpcTimeout=60000 
habseconf.zookeeperQuorum=${project.zkQuorum}
habseconf.zkClientPort=${project.zkClientPort}
habseconf.zookeeperZnodeParent=${project.zkParent}
habseconf.zookeeperSessionTimeout=900000 
habseconf.metaScannerCaching=5000 
habseconf.clientPrefetchLimit=100


logging.level.root=info
logging.level.org.apache.hadoop.hbase.client=error
</#if>

<#if project.dataCenterType == "mysql">
spring.datasource.url=${project.mysqlUrl}?characterEncoding=utf-8&autoReconnect=true&useSSL=false
spring.datasource.username=${project.mysqlUsername}
spring.datasource.password=${project.mysqlPassword}
spring.datasource.driverClassName=com.mysql.jdbc.Driver
spring.jpa.database=MYSQL
spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=update
spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
</#if>

<#if project.dataCenterType == "redis">
#redis
#redis.server.zk.path=192.168.10.8:2181
#redis.server.product=bonc_codis
#redis.server.zk.timeout=3000
#redis.server.password=
#redis.pool.max.total=1024
#redis.pool.max.idle=512
#redis.pool.min.idle=100
redis.ip=${project.redisIp}
redis.port=${project.redisPort}
</#if>